package com.zjt.bean.data;

import com.zjt.bean.User;
import lombok.Data;

import java.util.List;

@Data
public class UserData {

    /**
     * total : 3
     * items : [{"id":1,"username":"test1","password":"$2a$10$3joHPif3l/wsyKqxZA8aieZGQCWFcibfEtSJhAFLGovRPdtruDOuO","gender":0,"birthday":"2020-04-29","lastLoginTime":"2020-04-27 20:15:47","lastLoginIp":"","userLevel":0,"nickname":"测试用户","mobile":"13554556544","avatar":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80","weixinOpenid":"","status":0,"deleted":false},{"id":2,"username":"test2","password":"$2a$10$.BYJMrQgkQwJ4bCT0Eo.7uVJAmii8e02fNItEcmE4s5kW2msBlC62","gender":0,"birthday":"2020-04-29","lastLoginTime":"2020-04-27 20:15:47","lastLoginIp":"","userLevel":0,"nickname":"测试用户2","mobile":"18654566544","avatar":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80","weixinOpenid":"","status":0,"deleted":false},{"id":3,"username":"test3","password":"$2a$10$VudVULCgchGPjO9dnYeklOpXI4atzkLm1e6VMAcjxAkhXuHgdHh6K","gender":0,"birthday":"2020-04-29","lastLoginTime":"2020-04-27 20:15:47","lastLoginIp":"","userLevel":0,"nickname":"测试用户3","mobile":"18654566544","avatar":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80","weixinOpenid":"","status":0,"deleted":false}]
     */

    private long total;
    private List<User> items;

    /*public static class ItemsBean {
        *//**
         * id : 1
         * username : test1
         * password : $2a$10$3joHPif3l/wsyKqxZA8aieZGQCWFcibfEtSJhAFLGovRPdtruDOuO
         * gender : 0
         * birthday : 2020-04-29
         * lastLoginTime : 2020-04-27 20:15:47
         * lastLoginIp :
         * userLevel : 0
         * nickname : 测试用户
         * mobile : 13554556544
         * avatar : https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80
         * weixinOpenid :
         * status : 0
         * deleted : false
         *//*

        private int id;
        private String username;
        private String password;
        private int gender;
        private String birthday;
        private String lastLoginTime;
        private String lastLoginIp;
        private int userLevel;
        private String nickname;
        private String mobile;
        private String avatar;
        private String weixinOpenid;
        private int status;
        private boolean deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getLastLoginTime() {
            return lastLoginTime;
        }

        public void setLastLoginTime(String lastLoginTime) {
            this.lastLoginTime = lastLoginTime;
        }

        public String getLastLoginIp() {
            return lastLoginIp;
        }

        public void setLastLoginIp(String lastLoginIp) {
            this.lastLoginIp = lastLoginIp;
        }

        public int getUserLevel() {
            return userLevel;
        }

        public void setUserLevel(int userLevel) {
            this.userLevel = userLevel;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getWeixinOpenid() {
            return weixinOpenid;
        }

        public void setWeixinOpenid(String weixinOpenid) {
            this.weixinOpenid = weixinOpenid;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }
    }*/
}
